package com.weimob.demo.admin.persistent.entity;

import java.io.Serializable;
import java.util.Date;

public class TWmSysDept implements Serializable {
    /** 组织机构Code */
    private String deptCode;

    /** 机构名称（财务部） */
    private String deptName;

    /**  */
    private String deptNameAbbr;

    /** 上级机构ID，顶级机构为 0 */
    private String parentDeptCode;

    /** 机构类型（1：公司；2：部门；3：小组） */
    private String type;

    /** 联系电话 */
    private String phone;

    /** 邮件 */
    private String email;

    /** 排序 */
    private Integer sort;

    /** 备注 */
    private String remark;

    /**  */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    /**  */
    private Integer flag;

    /**  */
    private Integer version;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_wm_sys_dept
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.dept_code
     *
     * @return the value of t_wm_sys_dept.dept_code
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getDeptCode() {
        return deptCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.dept_code
     *
     * @param deptCode the value for t_wm_sys_dept.dept_code
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.dept_name
     *
     * @return the value of t_wm_sys_dept.dept_name
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.dept_name
     *
     * @param deptName the value for t_wm_sys_dept.dept_name
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.dept_name_abbr
     *
     * @return the value of t_wm_sys_dept.dept_name_abbr
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getDeptNameAbbr() {
        return deptNameAbbr;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.dept_name_abbr
     *
     * @param deptNameAbbr the value for t_wm_sys_dept.dept_name_abbr
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setDeptNameAbbr(String deptNameAbbr) {
        this.deptNameAbbr = deptNameAbbr;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.parent_dept_code
     *
     * @return the value of t_wm_sys_dept.parent_dept_code
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getParentDeptCode() {
        return parentDeptCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.parent_dept_code
     *
     * @param parentDeptCode the value for t_wm_sys_dept.parent_dept_code
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setParentDeptCode(String parentDeptCode) {
        this.parentDeptCode = parentDeptCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.type
     *
     * @return the value of t_wm_sys_dept.type
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.type
     *
     * @param type the value for t_wm_sys_dept.type
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.phone
     *
     * @return the value of t_wm_sys_dept.phone
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getPhone() {
        return phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.phone
     *
     * @param phone the value for t_wm_sys_dept.phone
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.email
     *
     * @return the value of t_wm_sys_dept.email
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.email
     *
     * @param email the value for t_wm_sys_dept.email
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.sort
     *
     * @return the value of t_wm_sys_dept.sort
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Integer getSort() {
        return sort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.sort
     *
     * @param sort the value for t_wm_sys_dept.sort
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.remark
     *
     * @return the value of t_wm_sys_dept.remark
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.remark
     *
     * @param remark the value for t_wm_sys_dept.remark
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.create_time
     *
     * @return the value of t_wm_sys_dept.create_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.create_time
     *
     * @param createTime the value for t_wm_sys_dept.create_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.update_time
     *
     * @return the value of t_wm_sys_dept.update_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.update_time
     *
     * @param updateTime the value for t_wm_sys_dept.update_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.flag
     *
     * @return the value of t_wm_sys_dept.flag
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.flag
     *
     * @param flag the value for t_wm_sys_dept.flag
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_dept.version
     *
     * @return the value of t_wm_sys_dept.version
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_dept.version
     *
     * @param version the value for t_wm_sys_dept.version
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setVersion(Integer version) {
        this.version = version;
    }
}